package com.andox.fn.inf.rpc.rest.protocol.registry;

import com.andox.fn.inf.rpc.rest.extension.ObjectFactory;
import com.andox.fn.inf.rpc.rest.protocol.registry.zookeeper.ZookeeperRegistryImpl;

/**   
 * @ClassName:   RegistryImplObjectFactory   
 * @author:      Andox
 * @date:        2019年8月16日 上午11:59:12   
 *     
 */
public class RegistryImplObjectFactory extends ObjectFactory<RegistryImpl>{

	public final static String ZOOKEEPER = "zookeeper";
	
	@Override
	public RegistryImpl getDefault() {
		return this.getObject(ZOOKEEPER);
	}

	@Override
	protected void init() {
		this.table.put(ZOOKEEPER, new ZookeeperRegistryImpl());
	}
}
